package cn.itsource.ldj.org.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer currentPage;
    private Integer pageSize;
    private String keyWords;

    public Integer getStart() {
        return (currentPage - 1) * pageSize;
    }
}
